import Taro from '@tarojs/taro'
interface OriginSource {
  gender?: number
  kid?: number
  nickName?: string
  seekingContent?: string
  seekingDescription?: string
  userPhoto?: string
}

interface CanvasPageContext {
  clickMenu?: Function
  source?: OriginSource
  close?: Function
}
const CanvasPageContext = Taro.createContext(null as CanvasPageContext)

export default CanvasPageContext
